package cn.damai.search.mapper;

import cn.damai.model.ItemComment;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ItemCommentMapper {

	ItemComment getItemCommentById(@Param(value = "id") Long id)throws Exception;

	List<ItemComment>	getItemCommentListByMap(Map<String, Object> param)throws Exception;

	Integer getItemCommentCountByMap(Map<String, Object> param)throws Exception;

	Integer insertItemComment(ItemComment ItemComment)throws Exception;

	Integer updateItemComment(ItemComment ItemComment)throws Exception;

//	Integer deleteItemCommentById(@Param(value = "id") Long id)throws Exception;
//
//	Integer batchDeleteItemComment(Map<String,List<String>> params);

}
